import requests
import re

url = 'https://movie.douban.com/top250?start=25&filter='
header = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36'
}

response = requests.get(url, headers=header)
response_text = response.text
print(response_text)
item = re.findall('<div class="item">.*?<a href="(.*?)">.*?alt="(.*?)" src="(.*?)"></a>', response_text, re.S)